home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / pc / files / t_unix / j109lxa4.tar / unixtm.h < prev    next >
C/C++ Source or Header  |  1994-06-04  |  555b  |  31 lines

  1. /*
  2.  * We simulate the DOS date/time stuff instead of using the Unix ones because
  3.  * the Unix ones require a lot of changed code.
  4.  */
  5.  
  6. #ifndef _LXTIME_H
  7.  
  8. struct date
  9. {
  10.     int da_year;
  11.     int da_day;
  12.     int da_mon;
  13. };
  14.  
  15. struct time
  16. {
  17.     int ti_min;
  18.     int ti_hour;
  19.     int ti_sec;
  20.     int ti_hund;
  21. };
  22.  
  23. extern void getdate __ARGS((struct date *));
  24. extern void gettime __ARGS((struct time *));
  25. extern long dostounix __ARGS((struct date *, struct time *));
  26. extern long secclock __ARGS((void));
  27. extern long msclock __ARGS((void));
  28.  
  29. #define _LXTIME_H
  30. #endif
  31.